.class public Lcom/xingbook/ui/a/as;
.super Lcom/xingbook/ui/a/c;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "ViewConstructor"
    }
.end annotation


# instance fields
.field private n:Landroid/webkit/WebView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V
    .locals 4
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SetJavaScriptEnabled"
        }
    .end annotation

    const/4 v3, 0x0

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/xingbook/ui/a/c;-><init>(Landroid/content/Context;Lcom/xingbook/ui/b/a;Lcn/a/a/b/b;Lcom/xingbook/c/e;)V

    invoke-virtual {p0, v3}, Lcom/xingbook/ui/a/as;->setmIntercept(Z)V

    new-instance v0, Landroid/webkit/WebView;

    invoke-direct {v0, p1}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    iget v1, p0, Lcom/xingbook/ui/a/as;->i:I

    iget v2, p0, Lcom/xingbook/ui/a/as;->h:I

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/webkit/WebView;->layout(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    new-instance v1, Lcom/xingbook/ui/a/at;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/a/at;-><init>(Lcom/xingbook/ui/a/as;)V

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    check-cast p3, Lcn/a/a/b/n;

    invoke-virtual {p3}, Lcn/a/a/b/n;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/a/as;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setVisibility(I)V

    return-void
.end method


# virtual methods
.method public c()V
    .locals 0

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->c()V

    return-void
.end method

.method public d()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->setVisibility(I)V

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->d()V

    return-void
.end method

.method public e()V
    .locals 2

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->e()V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->clearCache(Z)V

    return-void
.end method

.method public f()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->clearCache(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const-string v1, "about:blank"

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->f()V

    return-void
.end method

.method public g()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->clearCache(Z)V

    iget-object v0, p0, Lcom/xingbook/ui/a/as;->n:Landroid/webkit/WebView;

    const-string v1, "about:blank"

    invoke-virtual {v0, v1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    invoke-super {p0}, Lcom/xingbook/ui/a/c;->g()V

    return-void
.end method
